package com.shop.cereshop.admin.dao.feedback;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shop.cereshop.admin.page.feedback.FeedbackVO;
import com.shop.cereshop.admin.param.feedback.GetFeedbackDTO;
import com.shop.cereshop.commons.domain.feedback.Feedback;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @description: TODO
 * @author lx
 * @date 2025/10/26 11:05
 * @version 1.0
 */
@Mapper
public interface FeedbackDAO extends BaseMapper<Feedback> {
    List<FeedbackVO> getAnonymousFeedbackList(@Param("param") GetFeedbackDTO param);

    List<FeedbackVO> getSalesPersonFeedbackList(@Param("param") GetFeedbackDTO param);

    List<FeedbackVO> getUserFeedbackList(@Param("param") GetFeedbackDTO param);

    List<FeedbackVO> getShopFeedbackList(@Param("param") GetFeedbackDTO param);

    List<FeedbackVO> getAgentFeedbackList(@Param("param") GetFeedbackDTO param);

    List<FeedbackVO> getShareholderFeedbackList(@Param("param") GetFeedbackDTO param);

    FeedbackVO getUserFeedbackDetail(@Param("feedbackId") Long feedbackId);

    FeedbackVO getShopFeedbackDetail(@Param("feedbackId")Long feedbackId);

    FeedbackVO getAgentFeedbackDetail(@Param("feedbackId")Long feedbackId);

    FeedbackVO getSalesPersonFeedbackDetail(@Param("feedbackId")Long feedbackId);

    FeedbackVO getShareholderFeedbackDetail(@Param("feedbackId")Long feedbackId);

    FeedbackVO getAnonymousFeedbackDetail(@Param("feedbackId")Long feedbackId);
}
